//FULLY CONVERTED...UNTESTED

public class BuildBuff : Buff{ //Raises the build height of a block by a scale based on magnitude

	public BuildBuff(int magnitude, int duration){
		this.magnitude = magnitude;
		this.duration = duration;
		this.debuff = false;
	}
	
	public void execute(Card card){
		for(int i=0; i<card.getActives().Count; i++){
			if(card.getActives()[i].type is EffectActive.BuildLogicBlockCommand)
				card.getActives()[i].magnitude += (int)(card.getActives()[i].magnitude * (this.magnitude/100.0));
		}
	}
}